import Vue from 'vue'
import Router from 'vue-router'
import Login from '../components/Login/login'
import Home from '../components/Home/Home'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Register from '../components/register/register'
Vue.use(Router)
Vue.use(ElementUI)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path:'/home',
      name:'Home',
      component:Home,
    },
    {
      path:'/register',
      name:'Register',
      component:Register
    }

  ]
})
